package com.hmc.modules.sjfx.dto.tmm0001;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.hmc.common.utils.DateUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
* 材料库存表
*
* @author hmc wengxiulinluman@qq.com
* @since 3.0 2024-01-12
*/
@Data
@Schema(description = "材料库存表")
public class Tmm0001DTO implements Serializable {
    private static final long serialVersionUID = 1L;

    @Schema(description = "id")
    private Long id;
    @Schema(description = "记录创建责任者")
    private String recCreator;
    @Schema(description = "记录创建时刻")
    private String recCreateTime;
    @Schema(description = "记录修改责任者")
    private String recRevisor;
    @Schema(description = "记录修改时刻")
    private String recReviseTime;
    @Schema(description = "归档标记")
    private String archiveFlag;
    @Schema(description = "公司代码")
    private String companyCode;
    @Schema(description = "公司中文名称")
    private String companyCname;
    @Schema(description = "材料号")
    private String matNo;
    @Schema(description = "材料标识号")
    private String matId;
    @Schema(description = "材料跟踪号")
    private String matTrackNo;
    @Schema(description = "物料种类")
    private String matKind;
    @Schema(description = "物料产线类型")
    private String matLineType;
    @Schema(description = "机组代码")
    private String unitCode;
    @Schema(description = "下道机组代码")
    private String nextUnitCode;
    @Schema(description = "材料形态代码")
    private String matShapeCode;
    @Schema(description = "资源性质")
    private String resourceType;
    @Schema(description = "计划号")
    private String planNo;
    @Schema(description = "炉号")
    private String ponoNo;
    @Schema(description = "材料规格1")
    private BigDecimal matSpec1;
    @Schema(description = "材料规格2")
    private BigDecimal matSpec2;
    @Schema(description = "材料规格3")
    private BigDecimal matSpec3;
    @Schema(description = "材料规格4")
    private BigDecimal matSpec4;
    @Schema(description = "材料规格5")
    private BigDecimal matSpec5;
    @Schema(description = "材料规格6")
    private String matSpec6;
    @Schema(description = "材料规格描述")
    private String matSpecDesc;
    @Schema(description = "材料实际规格1")
    private BigDecimal matActSpec1;
    @Schema(description = "材料实际规格2")
    private BigDecimal matActSpec2;
    @Schema(description = "材料实际规格3")
    private BigDecimal matActSpec3;
    @Schema(description = "材料实际规格4")
    private BigDecimal matActSpec4;
    @Schema(description = "材料实际规格5")
    private BigDecimal matActSpec5;
    @Schema(description = "材料最小长度")
    private BigDecimal matMinLen;
    @Schema(description = "材料最大长度")
    private BigDecimal matMaxLen;
    @Schema(description = "称重标记")
    private String weighFlag;
    @Schema(description = "材料实际重量")
    private BigDecimal matActWt;
    @Schema(description = "材料理论重量")
    private BigDecimal matTheoryWt;
    @Schema(description = "材料毛重")
    private BigDecimal matGrossWt;
    @Schema(description = "材料重量")
    private BigDecimal matWt;
    @Schema(description = "材料件数(根数)")
    private BigDecimal matNum;
    @Schema(description = "材料数量")
    private BigDecimal matQty;
    @Schema(description = "材料数量单位")
    private BigDecimal matQtyUnit;
    @Schema(description = "总重量")
    private BigDecimal totalWt;
    @Schema(description = "总件数")
    private BigDecimal totalNum;
    @Schema(description = "总长度")
    private BigDecimal totalLen;
    @Schema(description = "理论总长度")
    private BigDecimal thyTotalLen;
    @Schema(description = "成品标记")
    private String productFlag;
    @Schema(description = "成品包装标志")
    private String productPackFlag;
    @Schema(description = "成品包装时刻")
    private String productPackTime;
    @Schema(description = "成品包装材料重量")
    private BigDecimal productPackWt;
    @Schema(description = "包装方式代码")
    private String packModeCode;
    @Schema(description = "并包号")
    private String uniteNo;
    @Schema(description = "制造命令号")
    private String pono;
    @Schema(description = "内部钢种")
    private String stNo;
    @Schema(description = "标准牌号代码")
    private String stdSgCode;
    @Schema(description = "钢种种类代码")
    private String sgClassCode;
    @Schema(description = "钢级")
    private String sgSign;
    @Schema(description = "标准")
    private String sgStd;
    @Schema(description = "产品大类代码")
    private String prodClassCode;
    @Schema(description = "品名代码")
    private String prodCode;
    @Schema(description = "品名中文")
    private String prodCname;
    @Schema(description = "产品规范码")
    private String psc;
    @Schema(description = "制造规范码")
    private String msc;
    @Schema(description = "产线号")
    private String mscLineNo;
    @Schema(description = "产品最终用途码")
    private String apn;
    @Schema(description = "材质号")
    private String mtrlNo;
    @Schema(description = "材质正文")
    private String mtrlText;
    @Schema(description = "生产责任者")
    private String prodMaker;
    @Schema(description = "生产时刻")
    private String prodTime;
    @Schema(description = "生产班次")
    private String prodShiftNo;
    @Schema(description = "生产班组")
    private String prodShiftGroup;
    @Schema(description = "采购订单子项号")
    private String purcOrderSubNo;
    @Schema(description = "采购标准代码")
    private String purcStdCode;
    @Schema(description = "采购标准说明")
    private String purcStdDesc;
    @Schema(description = "抵库单子项号")
    private String arriStockSubNo;
    @Schema(description = "供应商代码")
    private String supplierCode;
    @Schema(description = "制造商代码")
    private String manufactCode;
    @Schema(description = "原料计价方式代码")
    private String originPriceTypeCode;
    @Schema(description = "原料采购单价")
    private BigDecimal originPurcPrice;
    @Schema(description = "总金额")
    private BigDecimal totalAmt;
    @Schema(description = "原料结算单价")
    private BigDecimal originSettlePrice;
    @Schema(description = "原料结算数量")
    private BigDecimal originSettleNum;
    @Schema(description = "原料结算标记")
    private String originBalanceFlag;
    @Schema(description = "外购材料号")
    private String originMatNo;
    @Schema(description = "外购材料放行标记")
    private String originPassFlag;
    @Schema(description = "外购炉号")
    private String originHeatNo;
    @Schema(description = "生产指令号")
    private String saleOrderSubNo;
    @Schema(description = "销售订单号")
    private String soNo;
    @Schema(description = "原销售订单子项号")
    private String oldSaleOrderSubNo;
    @Schema(description = "业务单据号1")
    private String listNo1;
    @Schema(description = "客户代码")
    private String customerCode;
    @Schema(description = "工艺卡号")
    private String stlmNo;
    @Schema(description = "来源代码")
    private String originCode;
    @Schema(description = "材料去向")
    private String matDestion;
    @Schema(description = "全程工序代码")
    private String wholeBacklogCode;
    @Schema(description = "全程工序途径码顺序号")
    private BigDecimal wholeBacklogNo;
    @Schema(description = "全程工序途径码")
    private String wholeBacklog;
    @Schema(description = "全程工序顺序号")
    private BigDecimal wholeBacklogSeq;
    @Schema(description = "后全程工序顺序号")
    private BigDecimal nextWholeBacklogSeq;
    @Schema(description = "后全程工序代码")
    private String nextWholeBacklogCode;
    @Schema(description = "实际全程工序途径码")
    private String wholeBacklogAct;
    @Schema(description = "原料板坯号")
    private String rawSlabNo;
    @Schema(description = "原材料号")
    private String matNoOld;
    @Schema(description = "入口材料号")
    private String inMatNo;
    @Schema(description = "入口材料标识号")
    private String inMatId;
    @Schema(description = "入口材料产品代码")
    private String inMatPsc;
    @Schema(description = "入口材料制造规范码")
    private String inMatMsc;
    @Schema(description = "入口材料牌号（钢级）")
    private String inMatSgSign;
    @Schema(description = "入口材料标准")
    private String inMatStd;
    @Schema(description = "入口材料品名代码")
    private String inMatProdCode;
    @Schema(description = "入口材料品名中文")
    private String inMatProdCname;
    @Schema(description = "入口材料重量")
    private BigDecimal inMatWt;
    @Schema(description = "管端型式代码")
    private String pipeendTypeCode;
    @Schema(description = "螺纹类型代码")
    private String threadTypeCode;
    @Schema(description = "热处理方式代码")
    private String heatTreatMethodCode;
    @Schema(description = "表面等级代码")
    private String surfaceGradeCode;
    @Schema(description = "表面等级描述")
    private String surfaceGradeDesc;
    @Schema(description = "表面等级判定时刻")
    private String surfaceGradeTime;
    @Schema(description = "表面等级判定责任者")
    private String surfaceGradeMaker;
    @Schema(description = "性能判定代码")
    private String pchJudgeCode;
    @Schema(description = "性能判定结果")
    private String pchJudgeResult;
    @Schema(description = "性能判定异常原因")
    private String pchJudgeAbn;
    @Schema(description = "性能判定时刻")
    private String pchJudgeTime;
    @Schema(description = "性能判定责任者")
    private String pchJudgeMaker;
    @Schema(description = "质量等级代码")
    private String qualGradeCode;
    @Schema(description = "质量等级描述")
    private String qualGradeDesc;
    @Schema(description = "质量等级判定时刻")
    private String qualGradeTime;
    @Schema(description = "质量等级判定责任者")
    private String qualGradeMaker;
    @Schema(description = "代表材料标记")
    private String repMatFlag;
    @Schema(description = "试批号")
    private String sampleLotNo;
    @Schema(description = "试批号1")
    private String sampleLotNo1;
    @Schema(description = "取样机组代码1")
    private String sampleUnitCode1;
    @Schema(description = "取样位置代码1")
    private String samplePosCode1;
    @Schema(description = "试批号2")
    private String sampleLotNo2;
    @Schema(description = "取样机组代码2")
    private String sampleUnitCode2;
    @Schema(description = "取样位置代码2")
    private String samplePosCode2;
    @Schema(description = "试批号3")
    private String sampleLotNo3;
    @Schema(description = "取样机组代码3")
    private String sampleUnitCode3;
    @Schema(description = "取样位置代码3")
    private String samplePosCode3;
    @Schema(description = "试批号4")
    private String sampleLotNo4;
    @Schema(description = "取样机组代码4")
    private String sampleUnitCode4;
    @Schema(description = "取样位置代码4")
    private String samplePosCode4;
    @Schema(description = "试批号5")
    private String sampleLotNo5;
    @Schema(description = "取样机组代码5")
    private String sampleUnitCode5;
    @Schema(description = "取样位置代码5")
    private String samplePosCode5;
    @Schema(description = "新试号")
    private String newTestNo;
    @Schema(description = "返修标记")
    private String repairFlag;
    @Schema(description = "仓库号")
    private String stockNo;
    @Schema(description = "库位号")
    private String locationNo;
    @Schema(description = "层号")
    private String layerNo;
    @Schema(description = "入库标记")
    private String inFlag;
    @Schema(description = "入库方式")
    private String inStockMode;
    @Schema(description = "入库责任者")
    private String inStockMaker;
    @Schema(description = "入库时刻")
    private String inStockTime;
    @Schema(description = "入库申请单号")
    private String inStockApplyNo;
    @Schema(description = "入库申请单子项号")
    private String inStockApplySubNo;
    @Schema(description = "入库单号")
    private String inStockNo;
    @Schema(description = "箱号")
    private String boxedNumber;
    @Schema(description = "装箱列号")
    private String boxedColumnNo;
    @Schema(description = "装箱层号")
    private String boxedLayerNo;
    @Schema(description = "装箱行号")
    private String boxedRowNo;
    @Schema(description = "序号")
    private BigDecimal seqNo;
    @Schema(description = "质量锁定标记")
    private String qualLockFlag;
    @Schema(description = "生产锁定标记")
    private String prodLockFlag;
    @Schema(description = "材料处置锁定标记")
    private String matDealLockFlag;
    @Schema(description = "发货锁定标记")
    private String delivyLockFlag;
    @Schema(description = "移库锁定标记")
    private String moveStockLockFlag;
    @Schema(description = "封锁单号")
    private String holdNo;
    @Schema(description = "备注")
    private String remark;
    @Schema(description = "物料代码")
    private String matCode;
    @Schema(description = "熔炼号")
    private String heatNo;
    @Schema(description = "物料管理模式")
    private String matManageMode;
    @Schema(description = "车船号")
    private String vehicleNo;
    @Schema(description = "船号")
    private String shipName;
    @Schema(description = "采购合同代码")
    private String purcOrderCode;
    @Schema(description = "供应商名称")
    private String supplierName;
    @Schema(description = "源地质检标记")
    private String sourceFlag;
    @Schema(description = "项目名称")
    private String labelNo;
    @Schema(description = "产出类型")
    private String prodType;
    @Schema(description = "异常类型")
    private String abnrType;
    @Schema(description = "异常原因代码")
    private String abnrCauseCode;
    @Schema(description = "来料加工标记")
    private String comeProcFlag;
    @Schema(description = "内部加工标记")
    private String prodConfmFlag;
    @Schema(description = "成品热处理标记")
    private String productHeatFlag;
    @Schema(description = "收料标记")
    private String matReceivedFlag;
    @Schema(description = "最终产品")
    private String finalProd;
    @Schema(description = "轧制道次数")
    private BigDecimal rollCycNum;
    @Schema(description = "外观质量代码")
    private String appearQltyCode;
    @Schema(description = "管端周长T")
    private String tubeEndPerimeterT;
    @Schema(description = "管端周长W")
    private String tubeEndPerimeterW;
    @Schema(description = "两端管径之差")
    private String diameterDifference;
    @Schema(description = "管体周长")
    private BigDecimal tubePerimeter;
    @Schema(description = "钢管体积")
    private BigDecimal tubeVolume;
    @Schema(description = "椭圆度(mm)")
    private String bdDefault10;
    @Schema(description = "椭圆度T(头)")
    private String ellipticityT;
    @Schema(description = "椭圆度W(尾)")
    private String ellipticityW;
    @Schema(description = "切斜T(mm)")
    private String squareCutT;
    @Schema(description = "切斜W(mm)")
    private String squareCutW;
    @Schema(description = "坡口角度T")
    private String grooveAngleT;
    @Schema(description = "坡口角度W")
    private String grooveAngleW;
    @Schema(description = "钝边T")
    private String rootFaceT;
    @Schema(description = "钝边W")
    private String rootFaceW;
    @Schema(description = "剩磁T平均值")
    private String residualMagnetismTAvg;
    @Schema(description = "剩磁T最大值")
    private String residualMagnetismTMax;
    @Schema(description = "剩磁W平均值")
    private String residualMagnetismWAvg;
    @Schema(description = "剩磁W最大值")
    private String residualMagnetismWMax;
    @Schema(description = "直度(mm)")
    private String baDefault8;
    @Schema(description = "错边")
    private String b0Default2;
    @Schema(description = "噘嘴(mm)")
    private String bjDefault20;
    @Schema(description = "重量偏差")
    private BigDecimal wtDev;
    @Schema(description = "内打砂锚纹深度")
    private String anchorPatternDepthN;
    @Schema(description = "外打砂锚纹深度")
    private String anchorPatternDepthW;
    @Schema(description = "内打砂除锈等级")
    private String rustRemovalGradeN;
    @Schema(description = "外打砂除锈等级")
    private String rustRemovalGradeW;
    @Schema(description = "熔结环氧(FBE)涂层厚度")
    private String fbeCoatingThick;
    @Schema(description = "熔结环氧(FBE)涂层厚度2")
    private String fbeCoatingThick2;
    @Schema(description = "胶黏剂(AD)涂层厚度")
    private String adCoatingThick;
    @Schema(description = "管体厚度")
    private String tubeBodyCoatingThick;
    @Schema(description = "焊缝涂层厚度")
    private String weldCoatingThick;
    @Schema(description = "外涂管端预留E1")
    private String tubeReserveWE1;
    @Schema(description = "外涂管端预留E2")
    private String tubeReserveWE2;
    @Schema(description = "内涂管端预留E1")
    private String tubeReserveNE1;
    @Schema(description = "内涂管端预留E2")
    private String tubeReserveNE2;
    @Schema(description = "干膜涂层厚度(DFT)")
    private String dftCoatingThick;
    @Schema(description = "防腐涂层结构")
    private String arrType;
    @Schema(description = "温度类型")
    private String coatingGrade;
    @Schema(description = "防腐分厂代码")
    private String coatingFactory;
    @Schema(description = "防腐号")
    private String anticorrosiveNo;
    @Schema(description = "钢管面积")
    private BigDecimal tubeAcreage;
    @Schema(description = "不合格原因")
    private String disqualificationReasons;
    @Schema(description = "投料时间")
    private String devoTime;
    @Schema(description = "下线标记")
    private String unladeFlag;
    @Schema(description = "下线原因")
    private String unladeReason;
    @Schema(description = "返修类型")
    private String repairType;
    @Schema(description = "采购入库单号")
    private String purcInStockNo;
    @Schema(description = "销售出库单号")
    private String saleOutStockNo;
    @Schema(description = "评估类型")
    private String evaluateType;
    @Schema(description = "批次号")
    private String lotNo;
    @Schema(description = "转库入库凭证")
    private String voucherTransNo;
    @Schema(description = "生产投料凭证")
    private String voucherPutNo;
    @Schema(description = "投料冲销凭证")
    private String voucherReputNo;
    @Schema(description = "编码转换凭证")
    private String voucherPscNo;
    @Schema(description = "成品入库凭证")
    private String voucherPordNo;
    @Schema(description = "成品入库冲销凭证")
    private String voucherReprodNo;
    @Schema(description = "委外标记")
    private String entrustFlag;
    @Schema(description = "确认编号")
    private String sapRueck;
    @Schema(description = "确认计数器")
    private String sapRmzhl;
    @Schema(description = "出库申请单锁定标记")
    private String outLockFlag;
    @Schema(description = "创建人")
    private Long creator;
    @Schema(description = "创建时间")
    @JsonFormat(pattern = DateUtils.DATE_PATTERN)
    private Date createDate;
    @Schema(description = "更新人")
    private Long updater;
    @Schema(description = "更新时间")
    @JsonFormat(pattern = DateUtils.DATE_PATTERN)
    private Date updateDate;

}